
package com.insigma.business.qrcode.merchant.dao;


import com.insigma.business.qrcode.merchant.dto.search.CareWelfareMerchantStreetRelBSearcher;
import com.insigma.business.qrcode.merchant.entity.CareWelfareMerchantStreetRelDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface CareWelfareMerchantStreetRelDao {

    
    List<CareWelfareMerchantStreetRelDO> search(final CareWelfareMerchantStreetRelBSearcher innerSearcher);

    
    CareWelfareMerchantStreetRelDO get(final String id);

    
    Integer insert(final CareWelfareMerchantStreetRelDO careWelfareMerchantStreetRelDO);

    
    Integer update(final CareWelfareMerchantStreetRelDO careWelfareMerchantStreetRelDO);

    
    Integer delete(@Param("id") final String id,
                   @Param("modifierType") final String modifierType,
                   @Param("modifierId") final String modifierId);

    CareWelfareMerchantStreetRelDO getByMerchantId(String merchantId);

    CareWelfareMerchantStreetRelDO getByStreetIdAndMerchantId(@Param("streetId")String streetId, @Param("merchantId")String merchantId);

    Integer deleteByStreetId(String streetId);
}
